This way we have the whole history in the image, and we can start
to demo things like switching roots, pulling etc.
mkdir -p -m 0755 ./ostree/var/{log,run,tmp,spool}
cd ostree
mkdir repo
- rev=$(ostree --repo=${OSTREE_REPO} rev-parse gnomeos-base);
- ostree --repo=${OSTREE_REPO} checkout ${rev} gnomeos-base-${rev}
+ ostree --repo=repo init
+ ostree --repo=${OSTREE_REPO} local-clone repo
+ rev=$(ostree --repo=repo rev-parse gnomeos-base);
+ ostree --repo=repo checkout ${rev} gnomeos-base-${rev}
ln -s gnomeos-base-${rev} current
cd ..